<template>
  <div id="app">
    <router-view />
    <FooterGuide v-show="$route.meta.showFooter" />
  </div>
</template>

<script>
import { mapActions } from "vuex";
import FooterGuide from "./components/FooterGuide/FooterGuide";
export default {
  components: { FooterGuide },
  mounted() {

    this.getAddress()//更新状态
    this.reqUserInfo()//会话获取用户信息
  },
  methods: {
    ...mapActions(["getAddress",'reqUserInfo'])
  }
};
</script>

<style lang="stylus" scoped>
#app {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
}
</style>